package registe.bean;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "t_user_info")
public class TUserInfo implements Serializable {
    /**
     * 账号id
     */
    @Id
    private String uid;

    /**
     * 身份证号
     */
    @Column(name = "idNum")
    private String idnum;

    /**
     * 真实姓名
     */
    @Column(name = "realName")
    private String realname;

    /**
     * 用户类型 personal 个人用户  business 企业用户
     */
    private String type;

    /**
     * 头像照片索引
     */
    private String head;

    /**
     * 脸部图片索引
     */
    private String face;

    /**
     * 昵称
     */
    @Column(name = "nikeName")
    private String nikename;

    /**
     * 开通刷脸时间
     */
    @Column(name = "createTime")
    private String createtime;

    /**
     * 预留字段1
     */
    @Column(name = "OTHER1")
    private String other1;

    /**
     * 预留字段2
     */
    @Column(name = "OTHER2")
    private String other2;

    /**
     * 预留字段3
     */
    @Column(name = "OTHER3")
    private String other3;

    /**
     * 预留字段4
     */
    @Column(name = "OTHER4")
    private String other4;

    /**
     * 预留字段5
     */
    @Column(name = "OTHER5")
    private String other5;

    private static final long serialVersionUID = 1L;

    /**
     * 获取账号id
     *
     * @return uid - 账号id
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置账号id
     *
     * @param uid 账号id
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取身份证号
     *
     * @return idNum - 身份证号
     */
    public String getIdnum() {
        return idnum;
    }

    /**
     * 设置身份证号
     *
     * @param idnum 身份证号
     */
    public void setIdnum(String idnum) {
        this.idnum = idnum;
    }

    /**
     * 获取真实姓名
     *
     * @return realName - 真实姓名
     */
    public String getRealname() {
        return realname;
    }

    /**
     * 设置真实姓名
     *
     * @param realname 真实姓名
     */
    public void setRealname(String realname) {
        this.realname = realname;
    }

    /**
     * 获取用户类型 personal 个人用户  business 企业用户
     *
     * @return type - 用户类型 personal 个人用户  business 企业用户
     */
    public String getType() {
        return type;
    }

    /**
     * 设置用户类型 personal 个人用户  business 企业用户
     *
     * @param type 用户类型 personal 个人用户  business 企业用户
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取头像照片索引
     *
     * @return head - 头像照片索引
     */
    public String getHead() {
        return head;
    }

    /**
     * 设置头像照片索引
     *
     * @param head 头像照片索引
     */
    public void setHead(String head) {
        this.head = head;
    }

    /**
     * 获取脸部图片索引
     *
     * @return face - 脸部图片索引
     */
    public String getFace() {
        return face;
    }

    /**
     * 设置脸部图片索引
     *
     * @param face 脸部图片索引
     */
    public void setFace(String face) {
        this.face = face;
    }

    /**
     * 获取昵称
     *
     * @return nikeName - 昵称
     */
    public String getNikename() {
        return nikename;
    }

    /**
     * 设置昵称
     *
     * @param nikename 昵称
     */
    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    /**
     * 获取开通刷脸时间
     *
     * @return createTime - 开通刷脸时间
     */
    public String getCreatetime() {
        return createtime;
    }

    /**
     * 设置开通刷脸时间
     *
     * @param createtime 开通刷脸时间
     */
    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    /**
     * 获取预留字段1
     *
     * @return OTHER1 - 预留字段1
     */
    public String getOther1() {
        return other1;
    }

    /**
     * 设置预留字段1
     *
     * @param other1 预留字段1
     */
    public void setOther1(String other1) {
        this.other1 = other1;
    }

    /**
     * 获取预留字段2
     *
     * @return OTHER2 - 预留字段2
     */
    public String getOther2() {
        return other2;
    }

    /**
     * 设置预留字段2
     *
     * @param other2 预留字段2
     */
    public void setOther2(String other2) {
        this.other2 = other2;
    }

    /**
     * 获取预留字段3
     *
     * @return OTHER3 - 预留字段3
     */
    public String getOther3() {
        return other3;
    }

    /**
     * 设置预留字段3
     *
     * @param other3 预留字段3
     */
    public void setOther3(String other3) {
        this.other3 = other3;
    }

    /**
     * 获取预留字段4
     *
     * @return OTHER4 - 预留字段4
     */
    public String getOther4() {
        return other4;
    }

    /**
     * 设置预留字段4
     *
     * @param other4 预留字段4
     */
    public void setOther4(String other4) {
        this.other4 = other4;
    }

    /**
     * 获取预留字段5
     *
     * @return OTHER5 - 预留字段5
     */
    public String getOther5() {
        return other5;
    }

    /**
     * 设置预留字段5
     *
     * @param other5 预留字段5
     */
    public void setOther5(String other5) {
        this.other5 = other5;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", idnum=").append(idnum);
        sb.append(", realname=").append(realname);
        sb.append(", type=").append(type);
        sb.append(", head=").append(head);
        sb.append(", face=").append(face);
        sb.append(", nikename=").append(nikename);
        sb.append(", createtime=").append(createtime);
        sb.append(", other1=").append(other1);
        sb.append(", other2=").append(other2);
        sb.append(", other3=").append(other3);
        sb.append(", other4=").append(other4);
        sb.append(", other5=").append(other5);
        sb.append("]");
        return sb.toString();
    }
}